package cn.bandeqing.frame.mybatis.entity;

import com.mybatisflex.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.sql.Timestamp;

@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity {

    @Column(isLogicDelete = true)
    private Boolean delFlag;

    private Timestamp createTime;

    private Long createUserId;

    private String createUserName;

    private Timestamp updateTime;

    private Long updateUserId;

    private String updateUserName;

}
